package com.challenge.smsdao.admin.domain;

import com.challenge.smsbase.Domain.BaseEntity;

import javax.persistence.*;

/**
 * cuimingyang
 */
//@Table(name = "T_ADMIN_USER")
@Entity
public class User extends BaseEntity<Long> {

    /**
     *
     */
    private static final long serialVersionUID = -4376674977047164142L;

    @Column(name = "EMAIL")
    String email;

//    @ManyToOne
//    @JoinColumn(name = "GROUP_ID")
//    Group group;

    @Column(name = "PASSWORD")
    String password;

    @Column(name = "NAME")
    String name;

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
